/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.acme.superduperapp;

/**
 * GUI builder created Form
 *
 * @author Administrator
 */
public class phnix extends com.codename1.ui.Form {

    public phnix() {
        this(com.codename1.ui.util.Resources.getGlobalResources());
    }
    
    public phnix(com.codename1.ui.util.Resources resourceObjectInstance) {
        initGuiBuilderComponents(resourceObjectInstance);
    }

//-- DON'T EDIT BELOW THIS LINE!!!
    protected com.codename1.ui.Container gui_Container_1 = new com.codename1.ui.Container(new com.codename1.ui.layouts.BorderLayout());
    protected com.codename1.components.MultiButton gui_Multi_Button_1 = new com.codename1.components.MultiButton();
    protected com.codename1.components.MultiButton gui_Multi_Button = new com.codename1.components.MultiButton();
    protected com.codename1.ui.Container gui_Container = new com.codename1.ui.Container(new com.codename1.ui.layouts.BorderLayout());
    protected com.codename1.ui.TextArea gui_Text_Area = new com.codename1.ui.TextArea();
    protected com.codename1.ui.Button gui_Button = new com.codename1.ui.Button();
    protected com.codename1.ui.Label gui_Label = new com.codename1.ui.Label();


// <editor-fold defaultstate="collapsed" desc="Generated Code">                          
    private void guiBuilderBindComponentListeners() {
        EventCallbackClass callback = new EventCallbackClass();
        gui_Text_Area.addActionListener(callback);
    }

    class EventCallbackClass implements com.codename1.ui.events.ActionListener, com.codename1.ui.events.DataChangedListener {
        private com.codename1.ui.Component cmp;
        public EventCallbackClass(com.codename1.ui.Component cmp) {
            this.cmp = cmp;
        }

        public EventCallbackClass() {
        }

        public void actionPerformed(com.codename1.ui.events.ActionEvent ev) {
            com.codename1.ui.Component sourceComponent = ev.getComponent();

            if(sourceComponent.getParent().getLeadParent() != null && (sourceComponent.getParent().getLeadParent() instanceof com.codename1.components.MultiButton || sourceComponent.getParent().getLeadParent() instanceof com.codename1.components.SpanButton)) {
                sourceComponent = sourceComponent.getParent().getLeadParent();
            }

            if(sourceComponent == gui_Text_Area) {
                onText_AreaActionEvent(ev);
            }
        }

        public void dataChanged(int type, int index) {
        }
    }
    private void initGuiBuilderComponents(com.codename1.ui.util.Resources resourceObjectInstance) {
        guiBuilderBindComponentListeners();
        setLayout(new com.codename1.ui.layouts.BoxLayout(com.codename1.ui.layouts.BoxLayout.Y_AXIS));
        setInlineStylesTheme(resourceObjectInstance);
        setEnabled(true);
        setScrollVisible(true);
        setScrollableY(true);
                setInlineStylesTheme(resourceObjectInstance);
        setTitle("\u5F00\u5956");
        setName("phnix");
        addComponent(gui_Container_1);
                gui_Container_1.setInlineStylesTheme(resourceObjectInstance);
        gui_Container_1.setName("Container_1");
        gui_Container_1.addComponent(com.codename1.ui.layouts.BorderLayout.EAST, gui_Multi_Button_1);
        gui_Container_1.addComponent(com.codename1.ui.layouts.BorderLayout.CENTER, gui_Multi_Button);
        gui_Multi_Button_1.setUIID("Label");
                gui_Multi_Button_1.setInlineStylesTheme(resourceObjectInstance);
        gui_Multi_Button_1.setName("Multi_Button_1");
        gui_Multi_Button_1.setPropertyValue("line1", "3 minutes ago");
        gui_Multi_Button_1.setPropertyValue("line2", "in Los Angeles");
        gui_Multi_Button_1.setPropertyValue("uiid1", "SlightlySmallerFontLabel");
        gui_Multi_Button_1.setPropertyValue("uiid2", "RedLabelRight");
        gui_Multi_Button.setFocusable(true);
        gui_Multi_Button.setUIID("Label");
                gui_Multi_Button.setInlineStylesTheme(resourceObjectInstance);
        gui_Multi_Button.setName("Multi_Button");
        gui_Multi_Button.setPropertyValue("line1", "Ami Koehler");
        gui_Multi_Button.setPropertyValue("line2", "@dropperidiot");
        gui_Multi_Button.setPropertyValue("uiid1", "Label");
        gui_Multi_Button.setPropertyValue("uiid2", "RedLabel");
        addComponent(gui_Container);
                gui_Container.setInlineStylesTheme(resourceObjectInstance);
        gui_Container.setName("Container");
        gui_Container.addComponent(com.codename1.ui.layouts.BorderLayout.CENTER, gui_Text_Area);
        gui_Container.addComponent(com.codename1.ui.layouts.BorderLayout.EAST, gui_Button);
        gui_Text_Area.setText("\u6211\u662F\u8BF4\u753B\u8FD9\u5E45\u753B\u7684\u4EBA\u662F\u8C01\uFF1F");
        gui_Text_Area.setUIID("SlightlySmallerFontLabelLeft");
                gui_Text_Area.setInlineStylesTheme(resourceObjectInstance);
        gui_Text_Area.setName("Text_Area");
        gui_Text_Area.setMaxSize(172);
        gui_Text_Area.setColumns(3);
        gui_Button.setUIID("Label");
                gui_Button.setInlineStylesTheme(resourceObjectInstance);
        gui_Button.setName("Button");
        com.codename1.ui.FontImage.setMaterialIcon(gui_Button,"\ue5c8".charAt(0));
        addComponent(gui_Label);
                gui_Container_1.setInlineStylesTheme(resourceObjectInstance);
        gui_Container_1.setName("Container_1");
                gui_Container.setInlineStylesTheme(resourceObjectInstance);
        gui_Container.setName("Container");
                gui_Label.setInlineStylesTheme(resourceObjectInstance);
        gui_Label.setName("Label");
    }// </editor-fold>

//-- DON'T EDIT ABOVE THIS LINE!!!
    public void onAuto_CompleteActionEvent(com.codename1.ui.events.ActionEvent ev) {
    }

    public void onText_AreaActionEvent(com.codename1.ui.events.ActionEvent ev) {
    }

}
